
package com.eltonkent.ui.wrappers;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.eltonkent.R;

public class DialogFolderListWrapper
{
	private final View base;
	private ImageView folderImage;
	private TextView listLine;

	public DialogFolderListWrapper(View base)
	{

		this.base = base;

	}

	public ImageView getFolderImage()
	{
		if(folderImage == null)
		{
			folderImage = (ImageView) base.findViewById(R.id.listIcon);
		}
		return folderImage;
	}

	public TextView getListLine()
	{
		if(listLine == null)
		{
			listLine = (TextView) base.findViewById(R.id.listLine1);
		}
		return listLine;
	}

}
